#ifndef PARSE_H
#define PARSE_H

#include <QString>
#include <QStringList>
#include <QTextStream>
#include "error.h"
#include "BaseMap.h"
#include "persistence.h"

#define COMMAND_GET     1
#define COMMAND_SET     2
#define COMMAND_UPDATE  3
#define COMMAND_REMOVE  4
#define COMMAND_LIST    5
#define COMMAND_USE     6
#define COMMAND_QUIT    7

int Command_Parse(QHash<QString,QString> *Hash,QString * str);
void Command_Error(int Error_Macro);
QStringList Command_Lex(QString * str);
int GetParseNum(QString * str);
#endif // PARSE_H
